Description:
Exceptions may be very useful if you do a very complex program. If Raise()
function called, arguments will be set as exception and exceptioninfo and
it will jump into the last processed procedure with EXCEPT part. If you
call Raise() function in except code part, it will do the same, but into
the last previous procedure with EXCEPT part.
Syntax:
PROC xxx()
<code>
EXCEPT
<excepted-code>
ENDPROC
If somewhere in code a Raise() function is used, the excepted-code will
be processed, if nowhere excepted-code will be skipped. If you use
EXCEPTDO instead of EXCEPT keyword, excepted-code wont be skipped, it
will be processed right after code. The following two pieces of code are
the same:
EXCEPTDO
and
Raise(0,0)
EXCEPT
Raise() function note:
This function is located in powerd.lib, so if You want to use exceptions
You mustn't set NOSTD OPTion.